package com.skivingcloud.report.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;

/**
 *  实体类。
 *
 * @author skivingcloud
 * @since 2024-11-13
 */
@Schema(description = "")
@Table("report_online_tpl_sheet")
public class ReportOnlineTplSheet implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @Schema(description = "主键")
    private String id;

    /**
     * 模板id
     */
    @Schema(description = "模板id")
    private String tplId;

    /**
     * sheet名称
     */
    @Schema(description = "sheet名称")
    private String sheetName;

    /**
     * sheet顺序
     */
    @Schema(description = "sheet顺序")
    private Integer sheetOrder;

    /**
     * 单元格高度信息
     */
    @Schema(description = "单元格高度信息")
    private String rowlen;

    /**
     * 单元格宽度信息
     */
    @Schema(description = "单元格宽度信息")
    private String columnlen;

    /**
     * 单元格合并信息
     */
    @Schema(description = "单元格合并信息")
    private String merge;

    /**
     * 边框信息
     */
    @Schema(description = "边框信息")
    private String borderInfo;

    /**
     * 冻结属性
     */
    @Schema(description = "冻结属性")
    private String frozen;

    /**
     * 图片
     */
    @Schema(description = "图片")
    private String images;

    /**
     * sheet页唯一索引
     */
    @Schema(description = "sheet页唯一索引")
    private String sheetIndex;

    /**
     * 计算链，有公式的单元格信息
     */
    @Schema(description = "计算链，有公式的单元格信息")
    private String calcChain;

    /**
     * 超衔接
     */
    @Schema(description = "超衔接")
    private String hyperLink;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String creator;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private String updater;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 是否删除 1是 0否
     */
    @Schema(description = "是否删除 1是 0否")
    private String delFlag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTplId() {
        return tplId;
    }

    public void setTplId(String tplId) {
        this.tplId = tplId;
    }

    public String getSheetName() {
        return sheetName;
    }

    public void setSheetName(String sheetName) {
        this.sheetName = sheetName;
    }

    public Integer getSheetOrder() {
        return sheetOrder;
    }

    public void setSheetOrder(Integer sheetOrder) {
        this.sheetOrder = sheetOrder;
    }

    public String getRowlen() {
        return rowlen;
    }

    public void setRowlen(String rowlen) {
        this.rowlen = rowlen;
    }

    public String getColumnlen() {
        return columnlen;
    }

    public void setColumnlen(String columnlen) {
        this.columnlen = columnlen;
    }

    public String getMerge() {
        return merge;
    }

    public void setMerge(String merge) {
        this.merge = merge;
    }

    public String getBorderInfo() {
        return borderInfo;
    }

    public void setBorderInfo(String borderInfo) {
        this.borderInfo = borderInfo;
    }

    public String getFrozen() {
        return frozen;
    }

    public void setFrozen(String frozen) {
        this.frozen = frozen;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getSheetIndex() {
        return sheetIndex;
    }

    public void setSheetIndex(String sheetIndex) {
        this.sheetIndex = sheetIndex;
    }

    public String getCalcChain() {
        return calcChain;
    }

    public void setCalcChain(String calcChain) {
        this.calcChain = calcChain;
    }

    public String getHyperLink() {
        return hyperLink;
    }

    public void setHyperLink(String hyperLink) {
        this.hyperLink = hyperLink;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

}
